package com.hw.entity.vo.task;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Xg
 * @date 2021/7/21 15:15
 */
@Data
public class TaskOngoingListVO {

    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String taskId;

    /**
     * 点餐员id
     */
    @ApiModelProperty(value = "点餐员id")
    private String createId;

    /**
     * 点餐标题
     */
    @ApiModelProperty(value = "点餐标题")
    private String taskTitle;

    /**
     * 点餐员名称
     */
    @ApiModelProperty(value = "点餐员名称")
    private String nickName;

    /**
     * 商家id
     */
    @ApiModelProperty(value = "商家id")
    private String storeId;

    /**
     * 商家名称
     */
    @ApiModelProperty(value = "商家名称")
    private String storeName;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间(字符串格式)")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间(字符串格式)")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime endTime;

    /**
     * 进行状态
     */
    @ApiModelProperty(value = "进行状态")
    private Integer status;

    /**
     * 参与人数
     */
    @ApiModelProperty(value = "参与人数")
    private Integer totalPerson;

    /**
     * 是否被删除
     */
    @ApiModelProperty(value = "是否被删除")
    private Integer deleted;
}
